<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@include file="common/head.jsp"%>
<link href="${pageContext.request.contextPath }/statics/rece/css/styles.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="js/modernizr.js"></script>
<![endif]-->
</head>
<body>
 
       <div class="user">
      		   <form method="post" action="${pageContext.request.contextPath }/sys//modifyUser" enctype="multipart/form-data" >
				<table align="center" width="500" >
					<tr>
						<td align="right">用户名(*)：</td>
						<td>
							<input id="user_code" class="text" type="text" name="user_code" width="250"  maxlength="10"  value="${loginUser.user_code}"/>							
							
							<span></span>
						</td>
					</tr>
					<tr>
						<td align="right">真实姓名(*)：</td>
						<td><input class="text" type="text" name="user_name" value="${loginUser.user_name}"/><span></span></td>
					</tr>
				    <tr>
						<td align="right">密码(*)：</td>
						<td><input class="text" type="text" name="userPassword" value="${loginUser.userPassword}"/><span></span></td>
					</tr>
					<tr>
						<td align="right">性别(*)：</td>
						<td>
						  <input class="radio" type="radio" name="sex" value="1" 
						 <c:if test="${loginUser.sex==1}">checked="checked"</c:if> />男性
						  <input class="radio" type="radio" name="sex" value="2"
						    <c:if test="${loginUser.sex==2}">checked="checked"</c:if>/>女性
						  <span></span></td>
					</tr>
					<tr>
						<td align="right">生日(*)：</td>						
						<td><input class="text" type="text"  value="<fmt:formatDate value="${loginUser.birthday}" pattern="yyyy-MM-dd" type="date" />">
				        
						</input><span></span></td>
						
					</tr>
					<tr>
						<td align="right">email(*)：</td>
						<td><input class="text" type="text" name="email" value="${loginUser.email}"/><span></span></td>
					</tr>
					<tr>
						<td align="right">手机(*)：</td>						
						<td><input class="text" type="text" name="mobile" value="${loginUser.mobile}"/><span></span></td>
					</tr>
					
					<tr>
						<td align="right">地址(*)：</td>
						<td><input class="text" type="text" name="address" value="${loginUser.address}"/><span></span></td>
					</tr>
					
					
					
					<!-- <tr>
					<td align="right">用户照片:</td>
					<td><input type="file" name="pic" id="pic" value=""></td>
					</tr> -->
					<tr>
						<td align="center" colspan="2"><label class="ui-green"><input type="submit" name="submit" value="提交更改" /></label></td>
					</tr>
					<c:if test="${flag!=null&&flag=='ok'}">
					<tr>
						<td align="center" colspan="2" style="color: red;font-weight: bolder;font-size:30px;">修改成功</td>
					</tr>
					</c:if>
				</table>
				 <input type="hidden" name="id" value="${loginUser.id}"/> 
				
			</form>
			</div>
    <!--   
    
 </div>
  -->
			

<div data-am-widget="gotop" class="am-gotop am-gotop-fixed" >
    <a href="#top" title="回到顶部">
        <span class="am-gotop-title">回到顶部</span>
        <i class="am-gotop-icon am-icon-chevron-up"></i>
    </a>
</div>
<%@include file="common/foot.jsp"%>
